package com.struts2.actions;

import java.util.Date;

public class PartnershipLink {

	private LegalEntity partner;
	private int partnership_link_id;
	private Date partner_start_date;
	private Date partner_end_date;
	
	public int getPartnership_link_id() {
		return partnership_link_id;
	}

	public void setPartnership_link_id(int partnership_link_id) {
		this.partnership_link_id = partnership_link_id;
	}

	public Date getPartner_start_date() {
		return partner_start_date;
	}

	public void setPartner_start_date(Date partner_start_date) {
		this.partner_start_date = partner_start_date;
	}

	public Date getPartner_end_date() {
		return partner_end_date;
	}

	public void setPartner_end_date(Date partner_end_date) {
		this.partner_end_date = partner_end_date;
	}

	public LegalEntity getPartner() {
		return partner;
	}

	public void setPartner(LegalEntity partner) {
		this.partner = partner;
	}
	
	public String toString(){
		StringBuilder sbr = new StringBuilder();
		sbr.append("<partnership_link_id>"+this.partnership_link_id+"</partnership_link_id>\n");
		sbr.append("<partner>\n"+this.partner+"</partner>\n");
		sbr.append("<partner_start_date>"+this.partner_start_date+"</partner_start_date>\n");
		sbr.append("<partner_end_date>"+this.partner_end_date+"</partner_end_date>\n");
		String result = sbr.toString();
		sbr = null;
		return result;
	}
}
